<!DOCTYPE html> 
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<META http-equiv="Content-Style-Type" content="text/css">
<TITLE>生産進捗管理システム</TITLE>
<!--
<ddk:linkCss />
<SCRIPT language="JavaScript" src="<%= contextPath %>/javascript/SalesDeposit.js"></SCRIPT>
<SCRIPT type="text/javascript" src="<%= contextPath %>/javascript/OpenerExistCheck.js"></SCRIPT>
-->
<LINK rel="stylesheet" href="css/BLUE_Daihatsu.css" type="text/css">

<SCRIPT language="JavaScript">
<!--
//var customerInfoList = null;
//var itemCd1 = "";
//var itemCd2 = "";
//var companyNm = "";
//var deptNm = "";
//var companyAbrvNm = "";
//var deptAbrvNm = "";

//<%
//    // 品目絞込結果のnull判定開始.
//    if (resultInfoList != null) {
//%>
//    customerInfoList = new Array(<%= resultInfoList.length %>);
//<%
//        for (int i = 0; i < resultInfoList.length; i++) {
//%>
//    customerInfoList[<%= i %>] = new Array(
//            "<%= HTMLUtility.escapeScriptCharacter(resultInfoList[i].getitemCd1()) %>",
//            "<%= HTMLUtility.escapeScriptCharacter(resultInfoList[i].getitemCd2()) %>",
//            "<%= HTMLUtility.escapeScriptCharacter(resultInfoList[i].getCompanyNm()) %>",
//            "<%= HTMLUtility.escapeScriptCharacter(resultInfoList[i].getDeptNm()) %>",
//            "<%= HTMLUtility.escapeScriptCharacter(resultInfoList[i].getCompanyAbrvNm()) %>",
//            "<%= HTMLUtility.escapeScriptCharacter(resultInfoList[i].getDeptAbrvNm()) %>");
//<%
//        }
//
//        if (resultInfoList.length == 1) {
//            checked = "checked";
//%>
//    itemCd1 = "<%= HTMLUtility.escapeScriptCharacter(resultInfoList[0].getitemCd1()) %>";
//    itemCd2 = "<%= HTMLUtility.escapeScriptCharacter(resultInfoList[0].getitemCd2()) %>";
//    companyNm = "<%= HTMLUtility.escapeScriptCharacter(resultInfoList[0].getCompanyNm()) %>";
//    deptNm = "<%= HTMLUtility.escapeScriptCharacter(resultInfoList[0].getDeptNm()) %>";
//    companyAbrvNm = "<%= HTMLUtility.escapeScriptCharacter(resultInfoList[0].getCompanyAbrvNm()) %>";
//    deptAbrvNm = "<%= HTMLUtility.escapeScriptCharacter(resultInfoList[0].getDeptAbrvNm()) %>";
//<%
//        }
//    }
//%>

/**
 * 選択された品目の情報を親画面に渡して自画面を閉じます.
 * 
 * param なし
 * return なし
 */
function setCustomer() {

    try {
//        // 親画面の存在チェック.
//        if (openerExistCheck() == true) {
//
//            if (itemCd1 == "" && itemCd2 == "") {
//                alert("<%= logFormatter.message(mahoContext, ApplicationProperty.CTM_UNDEF, null) %>");
//                return;
//            } else {
//<%
//    if (customerSearchResultPageBean.getFunctionNm().startsWith("exNm") == true) {
//    // 品目コード１・品目コード２・会社名・事業所名を渡す.
//%>
//                window.opener.<%= customerSearchResultPageBean.getFunctionNm() %>(itemCd1,itemCd2,companyNm,deptNm);
//<%
//    } else if (customerSearchResultPageBean.getFunctionNm().startsWith("exAbrvNm") == true) {
//    // 品目コード１・品目コード２・会社名（略称）・事業所名（略称）を渡す.
//%>
//                window.opener.<%= customerSearchResultPageBean.getFunctionNm() %>(itemCd1,itemCd2,companyAbrvNm,deptAbrvNm);
//<%
//    } else {
//    // 品目コード１・品目コード２を渡す.
//%>
//                window.opener.<%= customerSearchResultPageBean.getFunctionNm() %>(itemCd1,itemCd2);
//<%
//    }
//%>
//            }
//        }
        window.close();
    } catch (e) {
        window.close();
    }

}

/**
 * リンク先へ遷移する.
 *
 * @param actionName リンク先インデックス.
 * @param value 設定データ.
 * @return なし.
 */
function send(actionName, value) {
//	//ロード中かどうかを判定。
//	if(checkLoading()){
//		return;
//	}
    switch (actionName) {
    case "businessThingHistory": // 物件履歴画面へリンク.
//        document.businessThingForm.action = "<%= request.getAttribute("jp.co.nssol.maho.label.servletUri") %>/business/salesQuery/result/next";
        document.businessThingForm.action = "../../business/BusinessThing/BusThingHistoryList.html";
        break;
    case "m6Info": // M6情報画面へリンク.
//        document.businessThingForm.action = "<%= request.getAttribute("jp.co.nssol.maho.label.servletUri") %>/business/salesQuery/result/next";
        document.businessThingForm.action = "../../business/BusinessThing/BusThingDetailLand.html";
        break;
    case "constraction": // クレーム/有償工事/補給部品販売履歴一覧画面へリンク.
//        document.businessThingForm.action = "<%= request.getAttribute("jp.co.nssol.maho.label.servletUri") %>/business/salesQuery/result/next";
        document.businessThingForm.action = "../../business/OtherSystemInfo/OtherSystemInfoList.html";
        break;
    case "update": // ソート処理実行.
//        document.businessThingForm.action = "<%= request.getAttribute("jp.co.nssol.maho.label.servletUri") %>/business/salesQuery/result/sort";
        document.businessThingForm.action = "../../business/BusinessThing/BusThingEditLand.html";
        break;
    case "back": // 物件情報結果一覧画面へリンク.
//        document.businessThingForm.action = "<%= request.getAttribute("jp.co.nssol.maho.label.servletUri") %>/business/salesQuery/businessThing/land/display";
        document.businessThingForm.action = "../../business/BusinessThing/BusThingQueryList.html";
        break;
    case "engineNo": // 機番詳細画面へリンク.
//        document.businessThingForm.action = "../../business/ProductNoAndEngineNoInfo/EngineNoDetailLand.html";
        document.businessThingForm.action = "../../business/ProductNoAndEngineNoInfo/EngNoDetailShip.html";
        break;
    case "productNo": // 製番詳細画面へリンク.
        document.businessThingForm.action = "../../business/ProductNoAndEngineNoInfo/ProdNoDetailLand.html";
        break;
    case "dockMainte": // ドック/メンテ詳細画面へリンク.
        document.businessThingForm.action = "../../business/DockMainteSchedule/DockMainteSchListLand.html";
        break;
    case "engineMove": // 移設画面へリンク.
        document.businessThingForm.action = "../../business/EngineMove/EngMoveReg.html";
        break;
    default:
        break;
    }
    document.businessThingForm.submit();
}


/**
 * 選択された品目をhidden項目に設定します.
 * 
 * param idx
 * return なし
 */
function selectCustomer(idx) {
//    itemCd1 = customerInfoList[idx][0];
//    itemCd1 = customerInfoList[idx][1];
//    companyNm = customerInfoList[idx][2];
//    deptNm = customerInfoList[idx][3];
//    companyAbrvNm = customerInfoList[idx][4];
//    deptAbrvNm = customerInfoList[idx][5];
}


/**
 * 品目絞込結果画面に戻ります.
 * 
 * param なし
 * return なし
 */
function screenBack() {
//    submitForm(document.resultForm, "<%= servletUri %>/business/customer/search/display");
    document.businessThingForm.action = "../../business/CommonQuery/PartCdQuery.html";
    document.businessThingForm.submit();
}


/**
 * 自画面を閉じます.
 * 
 * param なし
 * return なし
 */
function windowClose() {
    window.close();
}

//-->
</SCRIPT>

</HEAD>
<BODY bgcolor="#FFFFFF" link="#0000ff" vlink="#0000ff" topmargin="0" leftmargin="0" rightmargin="0" marginheight="0" marginwidth="0">
<FORM name="businessThingForm" method="post" onSubmit="return false">
<TABLE border="0" cellpadding="0" cellspacing="0" width="1100" height="100%">
  <TR>
    <TD class="menu_page_contents">
      <BR>
  <!-- ページ内容 START -->
  <TABLE cellspacing="2" cellpadding="0" width="1100" border="0">
    <TR>
      <!--<TD width="10"><IMG src="<%= contextPath %>/images/px.gif" width="10" height="1" border="0"></TD>-->
      <TD width="10"><IMG src="../../../images/px.gif" width="10" height="1" border="0" /></TD>
      <TD class="title_1">
        <TABLE border="0" cellspacing="2" cellpadding="0">
          <TR> 
            <TD class="in_title_select">発注情報一覧</TD>
            <TD width="200"></TD>
            <TD>
            </TD>
          </TR>
        </TABLE>
      </TD>
    </TR>
  </TABLE>
  <BR>
  
  <!-----  絞込テーブル  ---->
  <TABLE cellspacing="2" cellpadding="0" width="1100" border="0">
    <TR> 
      <TD width="15"></TD>
      <TD width="130"></TD>
      <TD width="220"></TD>
      <TD width="130"></TD>
      <TD width="220"></TD>
      <TD width="130"></TD>
      <TD width="220"></TD>
    </TR>
    <TR> 
      <TD></TD>
      <TD class="item_title1" colspan="6">絞込</TD>
    </TR>
    <TR>
      <TD></TD>
      <TD class="title_2">発行区分</TD>
      <TD class="detail">
        <SELECT name="hyouji">
          <option>新規発行</option>
          <option>再発行・取消</option>
        </select>
      </TD>
      <TD class="title_2">発注No.</TD>
      <TD class="detail"><input type="text" size="15"> </TD>
      <TD class="title_2">品目</TD>
      <TD class="detail"><input type="text" size="15"></TD>
    </TR>
    <TR>
      <TD></TD>
      <TD class="title_2">発注区分</TD>
      <TD class="detail">
        <SELECT name="type">
          <option>原料</option>
          <option>購入品（部品）</option>
          <option>購入品（製品）</option>
          <option>外注加工品</option>
        </SELECT>
      </TD>
      <TD class="title_2">発注先</TD>	 	
      <TD class="detail"><input type="text" size="15"></TD>
      <TD class="title_2">納期</TD>
      <TD class="detail"><input type="text" size="8">～<input type="text" size="8"></TD>
    </TR>
    <TR>
      <TD></TD>
      <TD class="title_2">納入先</TD>
      <TD class="detail"><input type="text" size="15"></TD>
      <TD class="detail" colspan="4"></TD>
    </TR>
    <TR>
      <TD></TD>
      <TD></TD>
      <TD></TD>
      <TD></TD>
      <TD></TD>
      <TD></TD>
      <TD align="right"><input type="button" value="絞込"></TD>
    </TR>
  </TABLE>

  <!----  ページャーテーブル  ----->
  <TABLE width="1100" cellspacing="2" cellpadding="0" border="0">
    <TR>
      <TD width="20"></TD>
      <TD>
        <A href="">前</A> 
        <A href="">1</A> 
        <A href="">2</A> 
        <A href="">3</A>
        <A href="">4</A>
        <A href="">5</A>
        <A href="">6</A>
        <A href="">7</A>
        <A href="">8</A>
        <A href="">9</A>
        <A href="">10</A>
        ・・・
        <A href="">100</A>
        <A href="">次</A>
        [2500件中1-25件目を表示]
      </TD>
      <TD align="right"><input type="button" value="発注書発行"><input type="button" value="発注書再発行"><input type="button" value="発注書発行取消"><input type="button" value="戻る" onClick="history.go(-1)"></TD
    </TR>
  </TABLE>
  <BR>
  
  <!------  発注一覧テーブル ----->
  <TABLE cellspacing="2" cellpadding="0" width="1100" border="0">
    <TR>
      <TD width="20"></TD>
      <TD width="30"></TD><!-- チェックボックス -->
      <TD width="30"></TD><!-- No -->
      <TD width="100"></TD><!-- 発注No. -->
      <TD width="100"></TD><!-- 品目コード -->
      <TD width="200"></TD><!-- 品目名 -->
      <TD width="120"></TD><!-- 発注区分 -->
      <TD width="80"></TD><!-- 発注数 -->
      <TD width="50"></TD><!-- 単位 -->
      <TD width="140"></TD><!-- 発注先 -->
      <TD width="100"></TD><!-- 納期 -->
      <TD width="140"></TD><!-- 納入先 -->
      <TD width="140"></TD><!--備考  -->
    </TR>
    <TR>
      <TD></TD>
      <TD class="list_title_service"></TD>
      <TD class="list_title_service">No</TD>
      <TD class="list_title_service">発注No.</TD>
      <TD class="list_title_service">品目</TD>
      <TD class="list_title_service">品目名</TD>
      <TD class="list_title_service">発注区分</TD>
      <TD class="list_title_service">発注数</TD>
      <TD class="list_title_service">単位</TD>
      <TD class="list_title_service">発注先</TD>
      <TD class="list_title_service">納期</TD>
      <TD class="list_title_service">納入先</TD>
      <TD class="list_title_service">備考</TD>
    </TR>
    <TR>
      <TD></TD>
      <TD class="list_detail_plain" ><input type="checkbox" name="example"></input></TD>
      <TD class="list_detail_plainType">1</TD>
      <TD class="list_detail_plainType"><a href="./PurchaseOrder.html" >XXXX-XXXX </a></TD>
      <TD class="list_detail_plainType"><a href="">AAAAAAA</a></TD>
      <TD class="list_detail_plainType">A製品</TD>
      <TD class="list_detail_plain">購入品（製品）</TD>
      <TD class="list_detail_plainType">1,000</TD>
      <TD class="list_detail_plainType">KO</TD>
      <TD class="list_detail_plainType">A企業</TD>
      <TD class="list_detail_plainType">2013/8/1</TD>
      <TD class="list_detail_plainType">㈱協立化工業</TD>
      <TD class="list_detail_plain"></TD>
    </TR>
    <TR>
      <TD></TD>
      <TD class="list_detail_plain" ><input type="checkbox" name="example"></input></TD>
      <TD class="list_detail_plainType">2</TD>
      <TD class="list_detail_plainType"><a href="OrderArchiveInput.html" >XXXX-XXXX</a></TD>
      <TD class="list_detail_plainType"><a href="">AAAAAA2</a></TD>
      <TD class="list_detail_plainType">A材料</TD>
      <TD class="list_detail_plain">購入品（製品）</TD>
      <TD class="list_detail_plainType">1,000</TD>
      <TD class="list_detail_plainType">KO</TD>
      <TD class="list_detail_plainType">A企業</TD>
      <TD class="list_detail_plainType">2013/8/2</TD>
      <TD class="list_detail_plainType">㈱協立化工業</TD>
      <TD class="list_detail_plain"></TD>
    </TR>
   <TR>
      <TD></TD>
      <TD class="list_detail_plain" ><input type="checkbox" name="example"></input></TD>
      <TD class="list_detail_plainType">3</TD>
      <TD class="list_detail_plainType"><a href="OrderArchiveInput.html" >XXXX-XXXX</a></TD>
      <TD class="list_detail_plainType"><a href="">CCCCCCCC</a></TD>
      <TD class="list_detail_plainType">C材料</TD>
      <TD class="list_detail_plain">購入品（製品）</TD>
      <TD class="list_detail_plainType">3,000</TD>
      <TD class="list_detail_plainType">KO</TD>
      <TD class="list_detail_plainType">A企業</TD>
      <TD class="list_detail_plainType">2013/8/2</TD>
      <TD class="list_detail_plainType">㈱協立化工業</TD>
      <TD class="list_detail_plain"></TD>
    </TR>
    <TR>
      <TD></TD>
      <TD class="list_detail_plain" ><input type="checkbox" name="example"></input></TD>
      <TD class="list_detail_plainType">4</TD>
      <TD class="list_detail_plainType"><a href="OrderArchiveInput.html" >XXXX-XXXX</a></TD>
      <TD class="list_detail_plainType"><a href="">DDDDDDDD</a></TD>
      <TD class="list_detail_plainType">D材料</TD>
      <TD class="list_detail_plain">購入品（製品）</TD>
      <TD class="list_detail_plainType">1,000</TD>
      <TD class="list_detail_plainType">KO</TD>
      <TD class="list_detail_plainType">B企業</TD>
      <TD class="list_detail_plainType">2013/8/5</TD>
      <TD class="list_detail_plainType">㈱協立化工業</TD>
      <TD class="list_detail_plain"></TD>
    </TR>
    <TR>
      <TD></TD>
      <TD class="list_detail_plain" ><input type="checkbox" name="example"></input></TD>
      <TD class="list_detail_plainType">5</TD>
      <TD class="list_detail_plainType"><a href="OrderArchiveInput.html" >XXXX-XXXX</a></TD>
      <TD class="list_detail_plainType"><a href="">DDDDDDDD</a></TD>
      <TD class="list_detail_plainType">D材料</TD>
      <TD class="list_detail_plain">購入品（製品）</TD>
      <TD class="list_detail_plainType">1,000</TD>
      <TD class="list_detail_plainType">KO</TD>
      <TD class="list_detail_plainType">B企業</TD>
      <TD class="list_detail_plainType">2013/8/5</TD>
      <TD class="list_detail_plainType">㈱協立化工業</TD>
      <TD class="list_detail_plain"></TD>
    </TR>
    <TR>
      <TD></TD>
      <TD class="list_detail_plain" ><input type="checkbox" name="example"></input></TD>
      <TD class="list_detail_plainType">6</TD>
      <TD class="list_detail_plainType"><a href="OrderArchiveInput.html" >XXXX-XXXX</a></TD>
      <TD class="list_detail_plainType"><a href="">DDDDDDDD</a></TD>
      <TD class="list_detail_plainType">D材料</TD>
      <TD class="list_detail_plain">購入品（製品）</TD>
      <TD class="list_detail_plainType">1,000</TD>
      <TD class="list_detail_plainType">KO</TD>
      <TD class="list_detail_plainType">B企業</TD>
      <TD class="list_detail_plainType">2013/8/5</TD>
      <TD class="list_detail_plainType">㈱協立化工業</TD>
      <TD class="list_detail_plain"></TD>
    </TR>
    <TR>
      <TD></TD>
      <TD class="list_detail_plain" ><input type="checkbox" name="example"></input></TD>
      <TD class="list_detail_plainType">7</TD>
      <TD class="list_detail_plainType"><a href="OrderArchiveInput.html" >XXXX-XXXX</a></TD>
      <TD class="list_detail_plainType"><a href="">DDDDDDDD</a></TD>
      <TD class="list_detail_plainType">D材料</TD>
      <TD class="list_detail_plain">購入品（製品）</TD>
      <TD class="list_detail_plainType">1,000</TD>
      <TD class="list_detail_plainType">KO</TD>
      <TD class="list_detail_plainType">B企業</TD>
      <TD class="list_detail_plainType">2013/8/5</TD>
      <TD class="list_detail_plainType">㈱協立化工業</TD>
      <TD class="list_detail_plain"></TD>
    </TR>
    <TR>
      <TD></TD>
      <TD class="list_detail_plain" ><input type="checkbox" name="example"></input></TD>
      <TD class="list_detail_plainType">8</TD>
      <TD class="list_detail_plainType"><a href="OrderArchiveInput.html" >XXXX-XXXX</a></TD>
      <TD class="list_detail_plainType"><a href="">DDDDDDDD</a></TD>
      <TD class="list_detail_plainType">D材料</TD>
      <TD class="list_detail_plain">購入品（製品）</TD>
      <TD class="list_detail_plainType">1,000</TD>
      <TD class="list_detail_plainType">KO</TD>
      <TD class="list_detail_plainType">B企業</TD>
      <TD class="list_detail_plainType">2013/8/5</TD>
      <TD class="list_detail_plainType">㈱協立化工業</TD>
      <TD class="list_detail_plain"></TD>
    </TR>
    <TR>
      <TD></TD>
      <TD class="list_detail_plain" ><input type="checkbox" name="example"></input></TD>
      <TD class="list_detail_plainType">9</TD>
      <TD class="list_detail_plainType"><a href="OrderArchiveInput.html" >XXXX-XXXX</a></TD>
      <TD class="list_detail_plainType"><a href="">DDDDDDDD</a></TD>
      <TD class="list_detail_plainType">D材料</TD>
      <TD class="list_detail_plain">購入品（製品）</TD>
      <TD class="list_detail_plainType">1,000</TD>
      <TD class="list_detail_plainType">KO</TD>
      <TD class="list_detail_plainType">B企業</TD>
      <TD class="list_detail_plainType">2013/8/5</TD>
      <TD class="list_detail_plainType">㈱協立化工業</TD>
      <TD class="list_detail_plain"></TD>
    </TR>
    <TR>
      <TD></TD>
      <TD class="list_detail_plain" ><input type="checkbox" name="example"></input></TD>
      <TD class="list_detail_plainType">10</TD>
      <TD class="list_detail_plainType"><a href="OrderArchiveInput.html" >XXXX-XXXX</a></TD>
      <TD class="list_detail_plainType"><a href="">DDDDDDDD</a></TD>
      <TD class="list_detail_plainType">D材料</TD>
      <TD class="list_detail_plain">購入品（製品）</TD>
      <TD class="list_detail_plainType">1,000</TD>
      <TD class="list_detail_plainType">KO</TD>
      <TD class="list_detail_plainType">B企業</TD>
      <TD class="list_detail_plainType">2013/8/5</TD>
      <TD class="list_detail_plainType">㈱協立化工業</TD>
      <TD class="list_detail_plain"></TD>
    </TR>
  </TABLE>
  <BR>

  <!---  ページャー  --->
  <TABLE width="1100" cellspacing="2" cellpadding="0" border="0">
    <TR>
      <TD width="20"></TD>
      <TD align="left">
        <A href="">前</A> 
        <A href="">1</A> 
        <A href="">2</A> 
        <A href="">3</A>
        <A href="">4</A>
        <A href="">5</A>
        <A href="">6</A>
        <A href="">7</A>
        <A href="">8</A>
        <A href="">9</A>
        <A href="">10</A>
        ・・・
        <A href="">100</A>
        <A href="">次</A>
        [2500件中1-25件目を表示]
      </TD>
    </TR>
    <TR>
      <TD></TD>
      <TD align="center"><input type="button" value="発注書発行"><input type="button" value="発注書再発行"><input type="button" value="発注書発行取消"><input type="button" value="戻る" onClick="history.go(-1)"></TD
    </TR>
  </TABLE>
  
</FORM>
<FORM name="customerDetailForm" method="post" onSubmit="return false">
    <INPUT type="hidden" name="itemCd1" value=""> <!--<%-- 品目コード1 --%>-->
    <INPUT type="hidden" name="itemCd2" value=""> <!--<%-- 品目コード2 --%>-->
</FORM>
      <BR />
    </TD>
  </TR>
</TABLE>

</BODY>
</HTML>
